#include<stdio.h>
int main()
{
  char *p[10]={"ling","yi","er","san","si","wu","liu","qi","ba","jiu"};
  char c;
  int i=0;
  while((c=getchar())!=' '&&c!='\n')
    {
      if(c=='-')
        printf("fu");
      else if(i==0)
        printf("%s",p[c-'0']);
      else
        printf(" %s",p[c-'0']);
      i=1;
    }
    return 0;
}